﻿using System.Collections.Generic;
using System.ServiceModel;

namespace HobSoft.SoccerBet2014.Domain.ClientService
{
    using Core;
    using Models;
    using Models.Site;
    /// <summary>
    /// 提供客户端系统级服务，登录、注销，会话管理
    /// </summary>
    [ServiceContract]
    public interface ISystemService : IService
    {
        [OperationContract]
        IList<Bookmaker> GetBookmaker();

        [OperationContract]
        bool Signup(string user, string password);

        [OperationContract]
        void SubmitCookies(IList<AccountCookie> cookies);

        [OperationContract]
        void SubmitSiteContext(IList<SiteContext> siteContext);
    }
}
